package com.gsmr.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gsmr.dao.FACCHDao;
import com.gsmr.dao.UserDao;
import com.gsmr.entity.FACCH;
import com.gsmr.entity.SDCCH;
import com.gsmr.entity.FACCH;
import com.gsmr.entity.User;
import com.gsmr.service.FACCHService;
import com.gsmr.service.UserService;

/**
 * 用户Service实现类
 * @author user
 *
 */
@Service("facchService")
public class FACCHServiceImpl implements FACCHService{

	@Resource
	private FACCHDao facchDao;

	public List<FACCH> find(Map<String, Object> map) {
		return facchDao.find(map);
	}
	public List<FACCH> findASC(Map<String, Object> map) {
		return facchDao.findASC(map);
	}

	public Long getTotal(Map<String, Object> map) {
		return facchDao.getTotal(map);
	}

	public int update(Map<String,Object> map) {
		return facchDao.update(map);
	}

	public int add(Map<String,Object> map) {
		return facchDao.add(map);
	}

	public int delete(Map<String,Object> map) {
		return facchDao.delete(map);
	}

	public List<String> findTableNames(Map<String, Object> map) {
		return facchDao.findTableNames(map);
	}

	public List<FACCH> findByIds(Map<String, Object> map) {
		return facchDao.findByIds(map);
	}

	public FACCH findByPrimaryKey(Map<String, Object> map) {
		return facchDao.findByPrimaryKey(map);
	}
	
	public List<String> findDistricts(Map<String, Object> map) {
		return facchDao.findDistricts(map);
	}
	
	public List<FACCH> findMessage_TYPEs(Map<String, Object> map) {
		return facchDao.findMessage_TYPEs(map);
	}
	
	public List<String> findFrontProcessorIds(Map<String, Object> map) {
		return facchDao.findFrontProcessorIds(map);
	}
	
	public List<FACCH> findIMSIs(Map<String, Object> map) {
		return facchDao.findIMSIs(map);
	}
	
	public List<FACCH> findMSISDNs(Map<String, Object> map) {
		return facchDao.findMSISDNs(map);
	}
	
	public List<FACCH> findCTCS_IDs(Map<String, Object> map) {
		return facchDao.findCTCS_IDs(map);
	}

	public int createOrReplaceView(Map<String, Object> map) {
		return facchDao.createOrReplaceView(map);
	}
}
